package dfbz.homework1;

public class Teacher extends Person{
    public Teacher(String name,int id){
        super(name, id);
    }
    public void teach(){
        System.out.println(this.getName()+"在授课");
    }
}
